home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / STACKER.TEC < prev    next >
Text File  |  1992-03-13  |  20KB  |  429 lines

  1. ID:ST STACKER:  OPTIMIZE/STACKER TROUBLESHOOTING
  2. Quarterdeck Technical Note #233
  3. by Robert Gaustad
  4. February 14, 1992
  5.  
  6.  
  7.                  THE OPTIMIZE/STACKER TROUBLESHOOTING GUIDE
  8.  
  9. This troubleshooting guide is designed to help the individual who has QEMM-386
  10. (or QEMM-50/60 or QRAM) and STACKER installed on his or her machine, and has
  11. run, or wants to run, OPTIMIZE.  If you have not yet run OPTIMIZE, please
  12. read the General Information section below, then proceed to Step 4 in the
  13. troubleshooting section.
  14.  
  15. If STACKER's SSWAP.COM device line in the CONFIG.SYS file has NOT been
  16. disabled, and if all drive names in the AUTOEXEC.BAT file have NOT been
  17. reversed before running OPTIMIZE, OPTIMIZE will become confused by SSWAP.COM
  18. swapping drive names during bootup and fail to perform a complete OPTIMIZE of
  19. the system.  If you do not use SSWAP.COM, OPTIMIZE will work without any
  20. special handling, and you do not need to use this technical bulletin.  We're
  21. sorry that this feature of STACKER causes trouble with OPTIMIZE, and
  22. Quarterdeck and Stac Electronics are working on ways to make the two products
  23. work together more efficiently.
  24.  
  25. Throughout this document we will refer to QEMM-386.  With the exception of
  26. QEMM-386's Stealth feature, the same solutions presented for QEMM-386 will
  27. also apply to users of QEMM-50/60 or QRAM.  The OPTIMIZE program is the same
  28. for all three products.  Note that the STEALTH option exists only with
  29. QEMM-386.
  30.  
  31. To avoid confusion, we will refer to COMPRESSED and UNCOMPRESSED drives
  32. whenever possible.  The COMPRESSED drive will always be the one that STACKER
  33. creates to hold most of your programs and data.  The UNCOMPRESSED drive will
  34. be the smaller BOOT drive.
  35.  
  36. The information below is relevant if the following assumptions are true:
  37.  
  38. A. STACKER is using SSWAP.COM
  39. B. You had a ONE partition drive before STACKER was installed.
  40. C. Your STACKER (COMPRESSED) drive is C:  (AFTER bootup - SSWAP does this)
  41. D. Your BOOT (UNCOMPRESSED) drive is D:   (AFTER bootup)
  42. E. You have already run OPTIMIZE.  If you have NOT run OPTIMIZE, follow the
  43.    TROUBLESHOOTING GUIDE instructions below, beginning with Step 5.
  44.  
  45.                       *********************************
  46.  
  47.                             ***** IMPORTANT *****
  48.            BEFORE CONTINUING WITH THE FOLLOWING TROUBLESHOOTING GUIDE
  49.                   READ THE GENERAL INFORMATION SECTION BELOW
  50.  
  51.                       *********************************
  52.  
  53.                   QEMM-386 AND STACKER GENERAL INFORMATION
  54.  
  55.  
  56. I.  Your UNCOMPRESSED drive is always drive C: during bootup.  When the
  57. STACKER.COM program is activated during bootup, a large COMPRESSED drive is
  58. created.  This is usually drive D:.  If you are using SSWAP.COM, it is also
  59. activated during bootup.  After STACKER.COM has created the COMPRESSED drive,
  60. SSWAP.COM swaps or reverses drive names.  Drive C: becomes D: and vice versa. 
  61. An easy way to tell which drive is your COMPRESSED drive is to type:
  62.  
  63.    CD\STACKER  <ENTER> and then
  64.    STACKER  <ENTER>
  65.  
  66. at the DOS prompt.  Most likely, one of the lines of information displayed
  67. on your screen will read as follows:
  68.  
  69.    DRIVE C: WAS DRIVE D: AT BOOT TIME  [ D:\STACVOL.DSK = X MB ]
  70.  
  71. This indicates that as you were booting up on the C: drive your UNCOMPRESSED
  72. drive, the COMPRESSED drive was D:.  When SSWAP.COM was executed and the
  73. drives swapped names, the COMPRESSED drive became C:.  Also, you may type:
  74.  
  75.    VOL  <ENTER>
  76.  
  77. at the DOS prompt to determine what drive, the COMPRESSED or UNCOMPRESSED, you
  78. are currently logged on to.
  79.  
  80. II.  If before you installed STACKER your hard disk had more than one
  81. partition, i.e., a C: and D: partition, then SSWAP.COM swaps drive names
  82. differently.  If you had a C: and D: partition, then your drives will be set
  83. up as follows when STACKER is installed:
  84.  
  85.    C: becomes E:
  86.    D: becomes F:
  87.  
  88. If you had 3 partitions, i.e. C:, D: and E:, then they will be as follows:
  89.  
  90.    C: becomes F:
  91.    D: becomes G:
  92.    E: becomes H:
  93.  
  94. Similarly, if you have a RAMDISK set up as D:, with a one partition hard disk,
  95. drive names usually change to the following:
  96.  
  97.    C: becomes E:
  98.    The RAMDISK is D:
  99.  
  100. The troubleshooting guide below is based on a one partition drive.  If your
  101. drive has multiple partitions, then you must determine what drive C: swaps to
  102. and use the appropriate drive name.
  103.  
  104. III.  If you have installed STACKER 2 on your system, are using the STEALTH
  105. parameter with QEMM-386, and have configured STACKER 2 to use EMS, you MUST
  106. add the parameter "DBF=2" to the QEMM-386 device line in the CONFIG.SYS file. 
  107. For example, your QEMM-386 device line might then read as follows:
  108.  
  109.    DEVICE=C:\QEMM\QEMM386.SYS RAM DBF=2 ST:M
  110.  
  111. NOTE:  Quarterdeck recommends using STACKER without the EMS option.
  112.  
  113. IV.  If you are using the STACKER XT/8 Coprocessor card, you will need to
  114. place an exclude statement for the card's RAM address on the QEMM-386 device
  115. line.  This is necessary because the card uses an area of HIGH RAM in a way
  116. that QEMM-386 cannot detect at boot-time.  To avoid confict with QEMM-386, you
  117. must exclude that area, so that QEMM-386 will not use it.  When installing the
  118. STACKER XT/8 coprocessor card, you are prompted, by STACKER, to select a base
  119. address for the card.  If you select CC00-CFFF, and complete the coprocessor
  120. installation, you would then edit your QEMM-386 device line to read something
  121. like this:
  122.  
  123.    DEVICE=C:\QEMM\QEMM386.SYS RAM DBF=2 ST:M X=CC00-CFFF
  124.  
  125. If you are installing STACKER after installing QEMM-386, and are using the
  126. XT/8 card, remove the RAM parameter from the QEMM-386 device line before
  127. selecting the RAM address for the card.  This will prevent any problems in
  128. finding the card's address.  Once the address has been configured and excluded
  129. on the QEMM-386 device line, replace the RAM parameter.
  130.  
  131. If you are using the AT/16 coprocessor card or the MC/16 microchannel card, no
  132. exclusion is necessary.
  133.  
  134.              **************************************************
  135.                   ***************************************
  136.                             ******************
  137.  
  138.  
  139.           THE FOLLOWING INSTRUCTIONS WILL TAKE YOU STEP BY STEP THROUGH
  140.      OPTIMIZING WITH STACKER ON YOUR SYSTEM.  TO BE SUCCESSFUL, YOU MUST
  141.                  FOLLOW THE INSTRUCTIONS ONE STEP AT A TIME.
  142.  
  143.             ***************************************************
  144.  
  145.      IT IS VERY IMPORTANT THAT YOU FOLLOW THE INSTRUCTIONS (STEP 5) TO
  146.          CREATE A BOOTABLE FLOPPY DISKETTE BEFORE RUNNING OPTIMIZE.
  147.  
  148.             ***************************************************
  149.  
  150.                  POST OPTIMIZE TROUBLESHOOTING WITH STACKER
  151.  
  152. 1.  The worst problem that can occur after running OPTIMIZE with STACKER
  153. installed on your system is that, upon bootup, your system cannot find
  154. COMMAND.COM and therefore cannot complete the boot procedure.  You will see
  155. the message:
  156.  
  157.    "BAD OR MISSING COMMAND INTERPRETER"
  158.  
  159. NOTE:  IF YOU ARE NOT ENCOUNTERING THIS MESSAGE, PROCEED TO STEP 2.
  160.  
  161. The above error message is a very rare occurrence and only happens if a couple
  162. of conditions are true:
  163.  
  164. One, you had placed a line in your CONFIG.SYS file FOLLOWING the SSWAP.COM
  165. line, AFTER installing STACKER on your computer, that reads:
  166.  
  167.    SHELL=C:\DOS\COMMAND.COM /P
  168.  
  169. Two, if you installed QEMM-386 AFTER installing STACKER, and did not copy
  170. necessary QEMM-386 files to directories on both the UNCOMPRESSED and
  171. COMPRESSED drives.  (If you installed STACKER after QEMM-386, it automatically
  172. copied the proper files to the COMPRESSED and UNCOMPRESSED drives for you.)
  173.  
  174. If the QEMM-386 files are NOT on the UNCOMPRESSED drive, then during OPTIMIZE,
  175. QEMM-386 places a LOADHI statement in front of the STACKER.COM line.  When
  176. OPTIMIZE reboots your system, the LOADHI statement cannot find LOADHI.COM and
  177. fails.  This prevents STACKER.COM from executing, and therefore the drive that
  178. the SHELL statement is looking for, the COMPRESSED STACKER drive, does not
  179. exist.  When the system cannot find COMMAND.COM, the boot procedure fails.
  180.  
  181. To correct this problem, you must boot your computer with a floppy disk, then
  182. follow the troubleshooting directions below on how to find and edit a
  183. CONFIG.SYS file.  In addition to the instructions below, you must place a REM
  184. statement in front of the SHELL statement, i.e.:
  185.  
  186.    REM SHELL=C:\DOS\COMMAND.COM /P
  187.  
  188. Also, copy COMMAND.COM to the ROOT directory of the UNCOMPRESSED drive. 
  189. COMMAND.COM can be found in the DOS directory on the hard disk or on the
  190. floppy disk you have just booted the system with.  For example type:
  191.  
  192.    COPY C:\DOS\COMMAND.COM C:\
  193.  
  194. if copying COMMAND.COM from the hard disk, or
  195.  
  196.    COPY A:\COMMAND.COM C:\  if copying COMMAND.COM from the floppy disk
  197.  
  198. Only copy COMMAND.COM from the floppy if it is the exact same version of DOS
  199. that you have installed on your hard disk.
  200.  
  201. 2.  If you have run OPTIMIZE and rebooted the computer, only to find that you
  202. no longer have a COMPRESSED drive (where most of your files are), a similar
  203. event to the above problem has occurred.  The LOADHI.SYS statement in front of
  204. STACKER.COM has prevented STACKER from executing, therefore preventing STACKER
  205. from creating the COMPRESSED drive.  The only difference from the above
  206. problem is that you do not have the SHELL statement in your CONFIG.SYS file so
  207. your system, at least, boots up.  To correct this problem, you must find a
  208. CONFIG.XXX file that will allow you to boot up your COMPRESSED drive, that
  209. being a CONFIG.XXX that has a QEMM386.SYS line and a STACKER.COM line with no
  210. LOADHI.SYS statement in front of it.  You should have at least 2 or 3
  211. different backup CONFIG.XXX files created by either QEMM-386 or STACKER. 
  212. These files should be found on the root directory.  The names of these files
  213. are as follows:
  214.  
  215.    CONFIG.QDK
  216.    CONFIG.STC
  217.    CONFIG._SB
  218.  
  219. Copy one of these files, using the DOS COPY command, to CONFIG.SYS and reboot.
  220. For example:
  221.  
  222.    COPY C:\CONFIG.QDK C:\CONFIG.SYS.
  223.  
  224. If at any time STACKER prompts you to update the CONFIG.SYS file, press N for
  225. no, otherwise you may replace the usable CONFIG.SYS with an unusable one. 
  226. Finish the reboot, then look at the contents of the CONFIG.SYS files on
  227. the root directories of both the COMPRESSED and UNCOMPRESSED drives.  The
  228. CONFIG.SYS on the COMPRESSED drive, most likely C:, should have the QEMM-386
  229. device line on it.  If so, copy it to the UNCOMPRESSED drive and reboot your
  230. system.                                                                     
  231.  
  232. 3.   Now, find a good AUTOEXEC.BAT file the same way.  A good AUTOEXEC.BAT
  233. file will be the same as the one you had before running OPTIMIZE and will have
  234. no LOADHI statements in front of any lines.  This file may also be found on
  235. the root directory of either the COMPRESSED or UNCOMPRESSED drive.  If you
  236. can't find a good AUTOEXEC.BAT file then look for:
  237.  
  238.    AUTOEXEC.QDK
  239.    AUTOEXEC.STC
  240.    AUTOEXEC._SB
  241.  
  242. These files may also be found on the root directory of either drive.  Once you
  243. have found the one you like, copy it to AUTOEXEC.BAT.  Now, you should have a
  244. good CONFIG.SYS and AUTOEXEC.BAT on your C: drive and are ready to proceed. 
  245. To avoid complications at this point, you should try doing all of your work on
  246. the C: drive which should be your COMPRESSED drive.  BE ABSOLUTELY CERTAIN
  247. THAT YOU KNOW WHICH DRIVE YOU ARE EDITING FILES ON.  LATER YOU WILL COPY THOSE
  248. FILES TO THE OPPOSITE DRIVE.
  249.  
  250. 4.  Make sure QEMM-386 is installed in a QEMM directory on both the COMPRESSED
  251. and UNCOMPRESSED drives.  If this is not the case, you must copy the following
  252. QEMM-386 files to the drive and QEMM directory that does not currently have
  253. it:  QEMM386.SYS, OPTIMIZE.COM, LOADHI.SYS, TESTBIOS.COM, LOADHI.COM,
  254. BUFFERS.COM, RSTRCFG.SYS, MCA.ADL (if a microchannel machine), WINHIRAM.VXD
  255. AND WINSTLTH.VXD (if using Windows 3 in enhanced mode).  If you do not have
  256. room on the UNCOMPRESSED drive, you must change the size of that drive to
  257. accomodate the QEMM-386 files.  This is accomplished by using the program
  258. STAC.COM found in the STACKER directory.  Information can be found in your
  259. STACKER manual.                     
  260.  
  261. 5.  At this step, you have a working CONFIG.SYS and AUTOEXEC.BAT file.
  262. You have gotten here either by the above steps, or because you have NOT yet
  263. run OPTIMIZE.  AT THIS POINT, YOU SHOULD MAKE A BOOTABLE FLOPPY DISK WITH
  264. STACKER AND QEMM-386 ON IT.  THIS BOOT FLOPPY IS VERY IMPORTANT IN CASE YOU
  265. MAKE A WRONG MOVE LATER. To do this, format a floppy disk with the DOS system
  266. on it and copy the following files to it: COMMAND.COM, QEMM386.SYS,
  267. STACKER.COM, SSWAP.COM, CONFIG.SYS AND AUTOEXEC.BAT.  Edit the CONFIG.SYS
  268. and AUTOEXEC.BAT files and TAKE OUT any path statements from
  269. the device lines.  For example change:
  270.  
  271.      DEVICE=C:\QEMM\QEMM386.SYS 
  272.  
  273. to
  274.  
  275.      DEVICE=QEMM386.SYS
  276.  
  277. This will now allow you to boot up your STACKER system even if you lose your
  278. CONFIG.SYS and AUTOEXEC.BAT files on the hard disk.  NOTE: If you cannot find
  279. a text editor, proceed to Step 6, below.
  280.  
  281. 6.  Now, you have to do a little editing of both the CONFIG.SYS and
  282. AUTOEXEC.BAT files.  If you don't have a text editor available to you on
  283. either drive, STACKER 2 includes one in its directory.  Since you may not have
  284. a path statement to the STACKER drive, the easiest way to access the text
  285. editor, SEDIT.EXE and edit the CONFIG.SYS file would be to type:
  286.  
  287.    CD\STACKER  <ENTER>
  288.    SEDIT C:\CONFIG.SYS  <ENTER>
  289.  
  290. Once you have brought up the CONFIG.SYS file, you must cursor down to the line
  291. that reads:
  292.  
  293.    DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC
  294.  
  295. NOTE:  The /SYNC parameter is only for STACKER 2. It does not exist for
  296. earlier versions of STACKER, and makes sure that the CONFIG.SYS and
  297. AUTOEXEC.BAT files are the same on both the COMPRESSED and UNCOMPRESSED
  298. drives.  In other words, if you edit a CONFIG.SYS or AUTOEXEC.BAT file, /SYNC
  299. will detect that on bootup and suggest that you let it update the older files
  300. to the ones you just edited.  To avoid confusion, this technote will have you
  301. manually copy edited files to both drives.
  302.  
  303. Once you find the SSWAP line, place a REM and a space BEFORE the line, i.e.:
  304.  
  305.    REM DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC
  306.  
  307. If you are using a version of DOS earlier than 5.0, you will get an error
  308. message that reads:
  309.  
  310.    "INVALID LINE IN CONFIG.SYS"
  311.  
  312. when booting up.
  313.  
  314. If there are any DEVICEs being loaded AFTER the SSWAP line, they must have
  315. their drive designations reversed.  For example:
  316.  
  317.    DEVICE=C:\MOUSE\MOUSE.SYS
  318.  
  319. you must reverse to read:
  320.  
  321.    DEVICE=D:\MOUSE\MOUSE.SYS
  322.  
  323. NOTE:  In the CONFIG.SYS file, only those DEVICE lines that come AFTER the
  324. SSWAP line must have their drive designations reversed.  Remember, this is
  325. only a temporary change.  Our recommendation is to put the SSWAP line as the
  326. last line in the CONFIG.SYS.
  327.  
  328. 7.  Now, save the CONFIG.SYS file by typing:
  329.  
  330.    ESC, Y and <ENTER> to save CONFIG.SYS and exit SEDIT.  
  331.  
  332. Now, load the AUTOEXEC.BAT file into your editor, by typing:
  333.  
  334.    SEDIT C:\AUTOEXEC.BAT  <ENTER>
  335.  
  336. Reverse all drive designations.  For example, if a line designates a C:\,
  337. change it to a D:\, and vice versa.  This is necessary because once STACKER
  338. with SSWAP has been invoked, the AUTOEXEC.BAT then executes and looks for
  339. files and programs on a certain drive.  Once you have disabled SSWAP, the
  340. AUTOEXEC.BAT must reverse the drive names it currently points to.  Place a REM
  341. statement in front of any line that invokes a menu program such as DOSSHELL,
  342. PCSHELL, WINDOWS, etc.   This will make your optimization of the system go a
  343. lot quicker because you don't have to go in and out of these programs each
  344. time OPTIMIZE reboots the system.
  345.  
  346. Once you have made these changes, save the AUTOEXEC.BAT file and exit SEDIT.
  347.  
  348. 8.  Copy both the CONFIG.SYS and AUTOEXEC.BAT files to the other drive.  For
  349. example, if you edited the C:\CONFIG.SYS and C:\AUTOEXEC.BAT files, copy both
  350. of them to the D:\ drive, by typing:
  351.  
  352.    COPY C:\CONFIG.SYS D:\    <ENTER>
  353.    COPY C:\AUTOEXEC.BAT D:\  <ENTER>
  354.  
  355. 9.  NOW, REBOOT THE COMPUTER.  When you get a C: prompt, type:
  356.  
  357.    VOL  <ENTER> 
  358.  
  359. on both the C: and D: drives.  The C: drive should be the SMALLER UNCOMPRESSED
  360. drive.  The D: drive should be the LARGER STACKER drive.  This means that you
  361. have successfully disabled SSWAP.COM and are no longer swapping drive names. 
  362. Once you have determined this to be true, copy both the CONFIG.SYS and
  363. AUTOEXEC.BAT files to a floppy disk.  By doing this, you will always have a
  364. backup of those edited files, and in case a problem develops, you will not
  365. have to go through the editing procedure again.
  366.  
  367. 10.   After copying the CONFIG.SYS and AUTOEXEC.BAT files to a floppy disk,
  368. rerun OPTIMIZE, by typing: 
  369.  
  370.      C:        <ENTER>
  371.      CD\QEMM   <ENTER>
  372.      OPTIMIZE  <ENTER>
  373.  
  374.   When you receive the message:
  375.  
  376.      OPTIMIZE COMPLETED
  377.      The Optimize process has completed successfully.  
  378.      Hit Enter to Return to DOS
  379.  
  380. this means that OPTIMIZE has completed its job.  After returning to DOS,
  381. the first thing you need to do is type:
  382.  
  383.      COPY C:\QEMM\HINTDATA.OPT D:\QEMM  <ENTER>
  384.  
  385. You might now want to to into Quarterdeck's MANIFEST program by typing:
  386.  
  387.      CD\QEMM  <ENTER>
  388.      MFT      <ENTER>
  389.  
  390. After entering the program, go to the FIRST MEG PROGRAMS section and see if
  391. all your TSRs and device drivers are loading into HIGH RAM.  If some, but not
  392. all, are loading high, it may mean that the TSRs and device drivers that did
  393. not load high are too large to do so.  If you are not sure how to interpret
  394. information from the MANIFEST program, a full description can be found in your
  395. QUARTERDECK MANIFEST manual.
  396.  
  397. Once you have determined that OPTIMIZE has been successful, reverse your
  398. editing procedures as described above in steps 6 and 7.  For example, in the
  399. C:\CONFIG.SYS file, remove the REM statement and space before the SSWAP.COM
  400. line and reverse any drive designations you changed AFTER that line.  Edit the
  401. C:\AUTOEXEC.BAT file and reverse the drive designations in that file.  Copy
  402. both the C:\CONFIG.SYS and C:\AUTOEXEC.BAT files to D:\.
  403.  
  404. 11.  Reboot the computer and check to see if the C: drive is the COMPRESSED
  405. STACKER drive and the D: drive is the SMALLER UNCOMPRESSED drive.  If you are
  406. prompted to let STACKER change your CONFIG.SYS or AUTOEXEC.BAT files because
  407. changes have been made, say NO and continue the boot procedure.  This probably
  408. means that you forgot to copy the C:\CONFIG.SYS and C:\AUTOEXEC.BAT files to
  409. D:\.  Since SSWAP.COM has once again been executed, the drive names have been
  410. swapped.  After bootup, read the contents of both the D:\CONFIG.SYS and
  411. D:\AUTOEXEC.BAT files and make sure that they are the same ones you edited
  412. after running OPTIMIZE.  You will probably see QEMM-386 LOADHI statements in
  413. the files.  Also, the REM statement will have been removed from the SSWAP.COM
  414. line in the CONFIG.SYS file.  If this is the case, copy both the D:\CONFIG.SYS
  415. and D:\AUTOEXEC.BAT file to C:\.  If those files are not correct, check on the
  416. C: drive.  After making sure that the correct CONFIG.SYS and AUTOEXEC.BAT
  417. files are on both drives, reboot your computer.
  418.  
  419. After rebooting, everything should be working correctly.  That is, your
  420. COMPRESSED drive will be the C: drive and your smaller UNCOMPRESSED drive will
  421. be D:.  That's it!  You have successfully run OPTIMIZE with STACKER.
  422.  
  423.   ************************************************************************
  424.   *This technical note may be copied and distributed freely as long as it*
  425.   *is distributed in its entirety and it is not distributed for profit.  *
  426.   *          Copyright (C) 1991-2 by Quarterdeck Office Systems          *
  427.   ************************* E N D  O F   F I L E *************************
  428.  
  429.